from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^outland/', include('outland.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^json/menu/(?P<qShop>.+)$','outland.list.views.listMenuJson'),
    (r'^json/shop/(?P<qCategory>.+)$','outland.list.views.listShopJson'),
    (r'^json/category$','outland.list.views.listCategoryJson'),
    (r'^json/shopcomment/(?P<qShop>.+)$','outland.list.views.ShopCommentJson'),
    (r'^ajaxHtml/shop/(?P<qCategory>.+)$','outland.list.views.listShopHtml'),
    (r'^ajaxHtml/menu/(?P<qShop>.+)$','outland.list.views.listMenuHtml'),
    (r'^ajaxHtml/shopdesc/(?P<qShop>.+)$','outland.list.views.ShopDescHtml'),
    (r'^save$','outland.list.views.save'),
    (r'^order$','outland.list.views.order'),
    (r'^$','outland.list.views.listShop'),
    (r'^login$','outland.list.views.login'),
    (r'^logout$','outland.list.views.logout'),
    (r'^login_view$','outland.list.views.login_view'),
    (r'^post_comment$','outland.list.views.PostComment'),
)
